Optimal. Leaf size=125 \[ \frac {5 a^2 \sqrt {a x^2+b x^3}}{8 b^3 \sqrt {x}}-\frac {5 a \sqrt {x} \sqrt {a x^2+b x^3}}{12 b^2}+\frac {x^{3/2} \sqrt {a x^2+b x^3}}{3 b}-\frac {5 a^3 \tanh ^{-1}\left (\frac {\sqrt {b} x^{3/2}}{\sqrt {a x^2+b x^3}}\right )}{8 b^{7/2}} \]
[Out]
________________________________________________________________________________________
Rubi [A]
time = 0.26, antiderivative size = 125, normalized size of antiderivative = 1.00, number of steps
used = 5, number of rules used = 3, integrand size = 21, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.143, Rules used = {2049, 2054,
212} \begin {gather*} -\frac {5 a^3 \tanh ^{-1}\left (\frac {\sqrt {b} x^{3/2}}{\sqrt {a x^2+b x^3}}\right )}{8 b^{7/2}}+\frac {5 a^2 \sqrt {a x^2+b x^3}}{8 b^3 \sqrt {x}}-\frac {5 a \sqrt {x} \sqrt {a x^2+b x^3}}{12 b^2}+\frac {x^{3/2} \sqrt {a x^2+b x^3}}{3 b} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
Rule 212
Rule 2049
Rule 2054
Rubi steps
\begin {align*} \int \frac {x^{7/2}}{\sqrt {a x^2+b x^3}} \, dx &=\frac {x^{3/2} \sqrt {a x^2+b x^3}}{3 b}-\frac {(5 a) \int \frac {x^{5/2}}{\sqrt {a x^2+b x^3}} \, dx}{6 b}\\ &=-\frac {5 a \sqrt {x} \sqrt {a x^2+b x^3}}{12 b^2}+\frac {x^{3/2} \sqrt {a x^2+b x^3}}{3 b}+\frac {\left (5 a^2\right ) \int \frac {x^{3/2}}{\sqrt {a x^2+b x^3}} \, dx}{8 b^2}\\ &=\frac {5 a^2 \sqrt {a x^2+b x^3}}{8 b^3 \sqrt {x}}-\frac {5 a \sqrt {x} \sqrt {a x^2+b x^3}}{12 b^2}+\frac {x^{3/2} \sqrt {a x^2+b x^3}}{3 b}-\frac {\left (5 a^3\right ) \int \frac {\sqrt {x}}{\sqrt {a x^2+b x^3}} \, dx}{16 b^3}\\ &=\frac {5 a^2 \sqrt {a x^2+b x^3}}{8 b^3 \sqrt {x}}-\frac {5 a \sqrt {x} \sqrt {a x^2+b x^3}}{12 b^2}+\frac {x^{3/2} \sqrt {a x^2+b x^3}}{3 b}-\frac {\left (5 a^3\right ) \text {Subst}\left (\int \frac {1}{1-b x^2} \, dx,x,\frac {x^{3/2}}{\sqrt {a x^2+b x^3}}\right )}{8 b^3}\\ &=\frac {5 a^2 \sqrt {a x^2+b x^3}}{8 b^3 \sqrt {x}}-\frac {5 a \sqrt {x} \sqrt {a x^2+b x^3}}{12 b^2}+\frac {x^{3/2} \sqrt {a x^2+b x^3}}{3 b}-\frac {5 a^3 \tanh ^{-1}\left (\frac {\sqrt {b} x^{3/2}}{\sqrt {a x^2+b x^3}}\right )}{8 b^{7/2}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A]
time = 0.09, size = 102, normalized size = 0.82 \begin {gather*} \frac {\sqrt {b} x^{3/2} \left (15 a^3+5 a^2 b x-2 a b^2 x^2+8 b^3 x^3\right )+15 a^3 x \sqrt {a+b x} \log \left (-\sqrt {b} \sqrt {x}+\sqrt {a+b x}\right )}{24 b^{7/2} \sqrt {x^2 (a+b x)}} \end {gather*}
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A]
time = 0.39, size = 103, normalized size = 0.82
method | result | size |
risch | \(\frac {\left (8 b^{2} x^{2}-10 a b x +15 a^{2}\right ) x^{\frac {3}{2}} \left (b x +a \right )}{24 b^{3} \sqrt {x^{2} \left (b x +a \right )}}-\frac {5 a^{3} \ln \left (\frac {\frac {a}{2}+b x}{\sqrt {b}}+\sqrt {b \,x^{2}+a x}\right ) \sqrt {x}\, \sqrt {x \left (b x +a \right )}}{16 b^{\frac {7}{2}} \sqrt {x^{2} \left (b x +a \right )}}\) | \(100\) |
default | \(-\frac {\sqrt {x}\, \left (-16 b^{\frac {9}{2}} x^{4}+4 b^{\frac {7}{2}} a \,x^{3}-10 b^{\frac {5}{2}} a^{2} x^{2}-30 b^{\frac {3}{2}} a^{3} x +15 \ln \left (\frac {2 \sqrt {b \,x^{2}+a x}\, \sqrt {b}+2 b x +a}{2 \sqrt {b}}\right ) \sqrt {x \left (b x +a \right )}\, a^{3} b \right )}{48 \sqrt {b \,x^{3}+a \,x^{2}}\, b^{\frac {9}{2}}}\) | \(103\) |
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A]
time = 1.53, size = 180, normalized size = 1.44 \begin {gather*} \left [\frac {15 \, a^{3} \sqrt {b} x \log \left (\frac {2 \, b x^{2} + a x - 2 \, \sqrt {b x^{3} + a x^{2}} \sqrt {b} \sqrt {x}}{x}\right ) + 2 \, {\left (8 \, b^{3} x^{2} - 10 \, a b^{2} x + 15 \, a^{2} b\right )} \sqrt {b x^{3} + a x^{2}} \sqrt {x}}{48 \, b^{4} x}, \frac {15 \, a^{3} \sqrt {-b} x \arctan \left (\frac {\sqrt {b x^{3} + a x^{2}} \sqrt {-b}}{b x^{\frac {3}{2}}}\right ) + {\left (8 \, b^{3} x^{2} - 10 \, a b^{2} x + 15 \, a^{2} b\right )} \sqrt {b x^{3} + a x^{2}} \sqrt {x}}{24 \, b^{4} x}\right ] \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \frac {x^{\frac {7}{2}}}{\sqrt {x^{2} \left (a + b x\right )}}\, dx \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A]
time = 1.82, size = 83, normalized size = 0.66 \begin {gather*} -\frac {5 \, a^{3} \log \left ({\left | a \right |}\right ) \mathrm {sgn}\left (x\right )}{16 \, b^{\frac {7}{2}}} + \frac {\sqrt {b x + a} {\left (2 \, x {\left (\frac {4 \, x}{b} - \frac {5 \, a}{b^{2}}\right )} + \frac {15 \, a^{2}}{b^{3}}\right )} \sqrt {x} + \frac {15 \, a^{3} \log \left ({\left | -\sqrt {b} \sqrt {x} + \sqrt {b x + a} \right |}\right )}{b^{\frac {7}{2}}}}{24 \, \mathrm {sgn}\left (x\right )} \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int \frac {x^{7/2}}{\sqrt {b\,x^3+a\,x^2}} \,d x \end {gather*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________